﻿
using System;

namespace Sharp.Portal
{
    /// <summary>
    /// ModulePage的特性类
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)]
    public class ModuleItemAttribute : System.Attribute
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ModuleItemAttribute"/> class.
        /// </summary>
        /// <param name="item">The item.</param>
        public ModuleItemAttribute(Type item)
        {
            this.Item = item;
        }

        /// <summary>
        /// Gets or sets the item.
        /// </summary>
        /// <value>The item.</value>
        public Type Item { get; set; }
    }
}
